const { merge } = require('webpack-merge');
const config = require('./webpack.common');
const path = require('path');

/**
 * @type {import('webpack').Configuration}
 */
module.exports = merge(config, {
  mode: 'development', // 'none',
  devtool: 'source-map',
  devServer: {
    open: true,
    contentBase: path.join(__dirname, 'public'),
  },
});
